/**
 * Copyright (c) 2010, Gaudenz Alder, David Benson
 */
package com.mxgraph.shape;

import com.mxgraph.canvas.mxGraphics2DCanvas;
import com.mxgraph.view.mxCellState;

import java.util.Map;

/**
 * The interface Mx i text shape.
 */
public interface mxITextShape {
    /**
     * Paint shape.
     *
     * @param canvas the canvas
     * @param text   the text
     * @param state  the state
     * @param style  the style
     */
    void paintShape(mxGraphics2DCanvas canvas, String text, mxCellState state,
                    Map<String, Object> style);

}
